﻿@{
    Layout = "~/Views/Shared/App.cshtml";
    var product = ViewData["Product"] as Products.Product;
    var versionSelectorData = new ViewDataDictionary() { 
        { "selectedVersion", this.ViewData["CurrentVersion"] } ,
        {"databaseObject", this.Model}
    }; 
}
<div class="buttonContainer">
    <span style="float: left;">
        @RenderSection("buttons", false)
    </span>
    <div style="float: right">
        @Html.Partial("../Version/VersionSelector", product, versionSelectorData)
    </div>
    <div style="clear: both">
    </div>
</div>
@RenderBody()
@section PageTitle{
    @RenderSection("PageTitle", false)
}
@section Header{
    @RenderSection("header", false)
}
